package com.sdi.business;

import java.util.List;

import com.sdi.business.exception.EntityAlreadyExistsException;
import com.sdi.business.exception.EntityNotFoundException;
import com.sdi.model.User;

public interface UserService {

	List<User> getUsers();
	User findByNick(String id) throws EntityNotFoundException;
	void saveUser(User user) throws EntityAlreadyExistsException;
	void updateUser(User user) throws EntityNotFoundException;
	void deleteUser(User user) throws EntityNotFoundException;

}